/*
 * @Author: 肖芬芳 10547202+xiao-fenfang@user.noreply.gitee.com
 * @Date: 2022-07-22 10:17:11
 * @LastEditors: 肖芬芳 1911683843@qq.com
 * @LastEditTime: 2022-12-13 15:41:34
 * @FilePath: \vue-api-serverc:\Users\Administrator\Desktop\vite-project\src\views\system\user\components\option.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    formData: { 'role': '',"authority":""},
    formItem: [
        [{
            label: "角色名：",
            value: 'role',
            width: 12,
            type: 'text',
            maxlength:10,
            rule: [
                { required: true, message: '请输入角色名！', trigger: 'blur' },
                { min: 3, max:10,message: '角色名在3-10字符之间', trigger: 'blur' },
            ]

        }], [{
            label: "权限：",
            value: 'authority',
            width: 12,
            type: 'tree',
            maxlength:10,
            rule: [
                { required: true, message: '请输入角色权限！', trigger: 'blur' },
            ]
        },]
    ],
}